module.exports = {
    publicPath: './',
    assetsDir: 'static',
    productionSourceMap: false,
    // 关闭路由全部下载
    chainWebpack: config => {
        config.plugins.delete('prefetch')
    },
    // 优化
    configureWebpack: {
        externals: {
            'vue': 'Vue',
            'vue-router': 'VueRouter'
        }
    }
}